package com.xique.park.api;

import com.xique.common.core.constant.ServiceNameConstants;
import com.xique.park.api.factory.RemoteBillFileServiceFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * 结算对账单服务
 *
 * @author WLD
 */
@FeignClient(contextId = "RemoteBillFileService",
        value = ServiceNameConstants.XIQUE_PAY,
        fallbackFactory = RemoteBillFileServiceFallbackFactory.class)
public interface RemoteBillFileService {

    /**
     * 结算对账单下载 / 清分对账单下载
     */
    @PostMapping("/bill/billFileDownloadTask")
    void billFileDownloadTask();
}
